const tool = require('./build/tool');
const devWebpackConfig = require('./build/webpack.dev.config');
const proWebpackConfig = require('./build/webpack.pro.config');
let webpackConfig = proWebpackConfig;

if (tool.isDev()) {
  webpackConfig = devWebpackConfig;
}

module.exports = webpackConfig;